package com.databias.j15;

import java.awt.Graphics2D;
/**
* This interface wraps the functions needed for an object to be added to a screen.  The object doesn't need
* to know 
**/

public interface GObject {
	/**
	 * This is the main function for this class.  Do whatever it takes to put this object on the provided
	 * screen.  The reason it needs to be called is that some functions, such as text, do not have a
	 * draw method defined.  To add this object to our collection, it has to be of this same interface.
	 * 
	 * @param gs
	 */
	void draw (int x, int y, Graphics2D gs);

}
